home *** CD-ROM | disk | FTP | other *** search
/ Eagles Nest BBS 7 / Eagles_Nest_Mac_Collection_Disc_7.TOAST / Hermes⁄Other Hosts / ANSICharSet < prev    next >
Encoding:
Text File  |  1993-12-12  |  6.8 KB  |  241 lines  |  [TEXT/QED1]

  1.  
  2.        Mode      Sequence      Mode      Sequence
  3.  
  4.     Insert/Replace      Insert    ESC[4h        Replace   ESC[4l
  5.     LineFeedThe following VT100 escape sequences are performed by MacKermit
  6. 0.97(57) VT100 emulation:
  7.  
  8. Cursor Movement Commands:
  9.  
  10.     Cursor Up                           ESC[PnA
  11.     Cursor Down                         ESC[PnB
  12.     Cursor Forward (right)              ESC[PnC
  13.     Cursor Backward (left)              ESC[PnD
  14.     Direct Cursor Addressing            ESC[Pl;PcH or ESC[Pl;Pcf
  15.     Index                               ESC D
  16.     New Line                            ESC E
  17.     Reverse Index                       ESC M
  18.     Save Cursor Attributes              ESC 7
  19.     Restore Cursor Attributes           ESC 8
  20.  
  21. Character Attributes:
  22.  
  23.     ESC[Ps m
  24.  
  25.     where Ps refers to a selective parameter as follows:
  26.  
  27.         0 or none               All Attributes Off
  28.         1                       Bold on
  29.         4                       Underscore on
  30.         2, 3, 5, 6              Italics on (VT100 uses Blink)
  31.         7                       Reverse Video on
  32. 21, 22                  Bold off
  33. 24                      Underline off
  34. 25                      Italics off
  35. 27                      Reverse Video off
  36.  
  37.  
  38. Erasing:
  39.  
  40.     From Cursor to End of Line          ESC[K or ESC[0K
  41.     From Beginning of Line to Cursor    ESC[1K
  42.     Entire Line containing Cursor       ESC[2K
  43.     From Cursor to End of Screen        ESC[J or ESC[0J
  44.     From Beginning of Screen to Cursor  ESC[1J
  45.     Entire Screen                       ESC[2J
  46.  
  47.  
  48. Character Sets:
  49.  
  50.     The G0 and G1 character sets are designated with a Select sequence
  51.     followed by a designator letter.
  52.  
  53.     Select (locking shift)
  54.     G0ESC (
  55.     G1ESC )
  56.  
  57.     Character Set               Designator   G1 designator
  58.  
  59.     United States (USASCII)     B
  60.     Special graphics characters 0
  61.       and line drawing set
  62.     DEC Technical set>
  63.     [Alternate Set] (USASCII)   1
  64.     [Alternate Set] (USASCII)   2
  65.       and special graphics
  66.  
  67.     To select national character sets, the sequence "ESC [ ? 4 2 h"
  68.     (with no spaces).  National character set designators::
  69.  
  70.     Dutch4
  71.     FinnishC or 5
  72.     FrenchR
  73.     French Canadian9 or Q
  74.     GermanK
  75.     ItalianY
  76.     Norwegian/Danish` or E or 6
  77.     Portuguese(sequence:)ESC % ( 6
  78.     SpanishZ
  79.     Swedish7 or H
  80.     Swiss=
  81.     United Kingdom (UK)A
  82.     United States (USASCII)B
  83.  
  84.     To select ISO 8859 international character sets, substitute "l" for "h"
  85.     in the above sequence.  ISO 8859 character set designators:
  86.  
  87.     Latin 1A
  88.  
  89.  
  90. Scrolling Region:
  91.  
  92.     ESC[Pt;Pb r
  93.  
  94.     Pt is the number of the line of the top of the scrolling region; Pb is the
  95.     number of the bottom line of the scroling region and must be greater than
  96.     Pt.
  97.  
  98. Tab Stops:
  99.  
  100.     Set tab at current position                 ESC H
  101.     Clear tab as current position               ESC[g or ESC[0g
  102.     Clear all tabs                              ESC[3g
  103.  
  104. Modes:
  105.                             To Set                  To Reset
  106.     Mode Name           Mode      Sequence      Mode      Sequence
  107.  
  108.     Insert/Replace      Insert    ESC[4h        Replace   ESC[4l
  109.     LineFeed/NewLine    NewLine   ESC[20h       LineFeed  ESC[20l
  110.     Screen Mode         Reverse   ESC[?5h       Normal    ESC[?5l
  111.     Origin Mode         Relative  ESC[?6h       Absolute  ESC[?6l
  112.     Wraparound          On        ESC[?7h       Off       ESC[?7l
  113.     Auto Repeat         On        ESC[?8h       Off       ESC[?8l
  114.  
  115. Reports:
  116.  
  117.     Cursor Position Report
  118.  
  119.     Invoked by          ESC[6n
  120.     Response            ESC[Pl;PcR
  121.  
  122.     Status Report
  123.  
  124.     Invoked by          ESC[5n
  125.     Response            ESC[0n  (terminal OK)
  126.  
  127.     What Are You?
  128.  
  129.     Invoked by          ESC[c or ESC[0c
  130.     Response            ESC[?1;2c  (VT100 with AVO, Advanced Video Option)
  131.  
  132.     Printer Status Report
  133.  
  134.     Invoked by          ESC[?15n
  135.     Response            ESC[?13n  (no printer)
  136.  
  137. Editing:
  138.  
  139.     Insertion Mode: Enter       ESC[4h
  140.     Exit (Replacement Mode)     ESC[4l
  141.  
  142.     Delete Character            ESC[PnP
  143.     Delete Line                 ESC[PnM
  144.     Insert Line                 ESC[PnL
  145.  
  146. Modes:
  147.                             To Set                  To Reset
  148.     Mode Name           Mode      Sequence      Mode      Sequence
  149.  
  150.     Cursor Key Mode     Application ESC[?1h     Cursor    ESC[?1l
  151.     Scrolling Mode      Smooth      ESC[?4h     Jump      ESC[?4l
  152.     Keypad Mode         Application ESC=        Numeric   ESC[>
  153.  
  154. Print Control Sequences:
  155.  
  156.     Auto Print Mode: Enter              ESC[?5i
  157.                      Exit               ESC[?4i
  158.     Printer Controller mode: Enter      ESC[5i
  159.                              Exit       ESC[4i
  160.  
  161.  
  162. Heath ANSI Control Sequences:
  163.  
  164.  To Set    To Reset
  165.     ModeSequenceModeSequence
  166.     Block CursorESC[>4hUnderline CursorESC[>4l
  167.     Cursor ShownESC[>5hCursor HiddenESC[>5l
  168.  
  169.  
  170.  
  171.  
  172.  
  173. The following sequences are NOT performed by MacKermit 0.97(57) VT100
  174. emulation:
  175.  
  176. Line Size:
  177.  
  178.     Change this line to double-height top half          ESC#3
  179.     Change this line to double-height bottom half       ESC#4
  180.     Change this line to single-width single-height      ESC#5
  181.     Change this line to double-width single-height      ESC#6
  182.  
  183. Programmable LEDS:
  184.  
  185.     ESC[Ps q    set LED on or off
  186.  
  187. Modes:
  188.                             To Set                  To Reset
  189.     Mode Name           Mode      Sequence      Mode      Sequence
  190.  
  191.     ANSI/VT52 Mode      ANSI        N/A         VT52      ESC[?2l
  192.     Column Mode         132 Col     ESC[?3h     80 Col    ESC[?3l
  193.     Interlace           On          ESC[?9h     Off       ESC[?9l
  194.  
  195.     Print Termination   Form Feed   ESC[18h     None      ESC[18l
  196.     Print Extent        Full Page   ESC[19h     Window    ESC[19l
  197.  
  198. Print Control Sequences:
  199.  
  200.     Print Line                          ESC[?1i
  201.     Print Page                          ESC[i
  202.  
  203. Report Terminal Parameters:
  204.  
  205.     ESC[P1 n
  206.  
  207.     Request terminal parameters
  208.  
  209. Reset:
  210.  
  211.     ESC c
  212.  
  213. Confidence Tests:
  214.  
  215.     ESC#8
  216.     ESC[2;Ps y
  217.  
  218. All VT52 mode commands:
  219.  
  220.     Cursor Up                           ESC A
  221.     Cursor Down                         ESC B
  222.     Cursor Right                        ESC C
  223.     Cursor Left                         ESC D
  224.     Select Special Graphics             ESC F
  225.     Select ASCII Characters             ESC G
  226.     Cursor to Home                      ESC H
  227.     Reverse Line Feed                   ESC I
  228.     Erase to End of Screen              ESC J
  229.     Erase to End of Line                ESC K
  230.     Direct Cursor Address               ESC Y l c
  231.     Identify                            ESC Z           response:  ESC / Z
  232.     Enter Alternate Keypad Mode         ESC =
  233.     Exit Alternate Keypad Mode          ESC >
  234.     Enter ANSI mode                     ESC <
  235.  
  236.     Enter Printer Controller mode       ESC W
  237.     Exit Printer Controller Mode        ESC X
  238.     Enter Auto Print Mode               ESC ?
  239.     Exit Auto Print Mode                ESC _
  240.     Print Line                          ESC V
  241.     Print Page                          ESC ]